@import url("./global.scss");
@import url("../font/pingFang.css");
$success: #2cb69a;
$fail: #e1261c;
$fontcolor: rgb(158, 158, 158); //基础字体颜色
$finished: #193690; //部分字体图标的背景颜色，已完成的字体颜色
$chartcolor: #01b3e3; //部分Echart非空白颜色
$success_new: #2cb69a;
$fail_new: #e46262;
// 主题色
$mainColor: $finished;

// 主色系
$themecolor: #193690;
$themecolor2: #627aec;
// 辅色系
$supportcolor: #f8a73c;
$supportcolor2: #ffc352;

// 黑灰色
$graycolor1: #323333;
$graycolor2: #656566;
$graycolor3: #979899;
$graycolor4: #cacbcc;
$graycolor5: #dcdcde;
$graycolor6: #f2f3f5;

/* wms */
.themebgcolor {
  background-color: $themecolor;
}
.themefontcolor {
  color: $themecolor;
}

.themebgcolor2 {
  background-color: $themecolor2;
}
.themefontcolor2 {
  color: $themecolor2;
}

.supportbgcolor {
  background-color: $supportcolor;
}
.supportfontcolor {
  color: $supportcolor;
}

.supportbgcolor2 {
  background-color: $supportcolor2;
}
.supportfontcolor2 {
  color: $supportcolor2;
}

.card-title {
  font-size: 15px;
  font-weight: bold;
  font-family: "PingFang SC bold" !important;
  line-height: 2.25rem;
}

.card-tag {
  font-size: 12px;
  color: $themecolor2;
  font-weight: 300 !important;
}

.card-sp-line {
  border-color: $graycolor5 !important;
}

.card-lable {
  color: $graycolor3;
  font-size: 14px;
}

.card-value {
  color: $graycolor2;
  font-size: 14px;
}

.wms-tab {
  font-size: 16px;
  font-weight: bold;
  font-family: "PingFang SC bold";
}

.wms-submit-btn {
  font-size: 16px;
  font-weight: bold;
  background-color: $themecolor;
}

.wms-v-row {
  line-height: 1.75rem;
}

/* wms */

//设置方正兰亭黑体
// @font-face{
//     font-family: 'epic-Lanting-black';
//     src: url('../font/FounderLantingBlackbody_GBK.TTF')
// }
//覆盖原有样式
body {
  background-color: #fff;
  font-family: PingFang SC standard !important;
}
.v-application {
  font-family: PingFang SC standard !important;
}

p {
  margin: 0 0 5px 0;
  font-size: 16px;
}

.mu-button {
  text-transform: none;
}

.mu-item-action {
  min-width: 33px;
}

.mu-text-field-input {
  height: 36px;
}

.safe-head-back {
  color: $success;
}

//自定义样式 覆盖样式
.mu-paper-round.no-round {
  border-radius: 0;
}

.item-hedaer.mu-sub-header {
  line-height: 30px;
  margin: 0;
  background: #eaeaea;
  color: #63656a;
  font-weight: bold;
}

.mu-list.item-border-b {
  & > li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);

    .mu-input-line,
    .mu-input-focus-line {
      display: none;
    }

    &:last-child {
      border-bottom: 0;
    }
  }
}

.mu-list.input-items {
  .input-item {
    margin: 8px 0;
  }

  .input-title,
  .mu-item-title {
    width: 100px;
    margin-right: 2px;
  }

  .un-input-title {
    width: 100%;
    margin-right: 0;
  }

  .mu-input {
    max-width: 100%;
    margin: 0;
    padding: 6px 0;
    width: 600px;
    min-width: 256px;
    max-width: 1200px;
  }
}

.mu-list.custom-items {
  padding: 0;
  .mu-item {
    padding: 12px 16px;
    height: auto;
  }
}

.title-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 15px 0;

  .title-icon {
    margin-right: 12px;
  }

  .title {
    color: #323e48;
    font-size: 16px;
    font-weight: bold;
  }
}

//自定义样式
.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.min-vh-100 {
  min-height: 100vh;
}

.success {
  color: $success;
}

.fail {
  color: $fail;
}

.success_new {
  color: $success_new;
}

.fail_new {
  color: $fail_new;
}

.fontcolor {
  color: $fontcolor;
}

.font-position-right {
  text-align: right;
}

.font-position-left {
  text-align: left;
}

.finished {
  color: $finished;
}

.chartcolor {
  color: $chartcolor;
}

.flex-bottom-auto {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 86px);

  & > * {
    width: 100%;
  }

  .bottom-auto {
    margin-top: auto;
  }
}

.spacing_shadowdiv {
  background-color: $finished;
  width: 94%;
  margin: 10px auto;
  box-shadow: #a3aaae 2px 1px 3px 2px;
}

//主题
.main-font,
.mu-bottom-item-active {
  //文字 图表颜色
  color: $mainColor !important;
}

.main-border {
  //边框
  border-color: $mainColor !important;
}

.main-bg {
  background-color: $mainColor !important;
}

.main-input-border {
  ::v-deep .mu-input-focus-line {
    background-color: $mainColor !important;
  }
}

.item-hedaer.mu-sub-header {
  //line-height: 1.3rem;
  margin: 0;
  background: #cccccc; //#eae7e7;
  color: rgba(0, 0, 0, 0.87);
  font-weight: normal;
  font-size: 1rem;
}

//禁用页面文本选中
* {
  -webkit-touch-callout: none; /*系统默认菜单被禁用*/
  -webkit-user-select: none; /*webkit浏览器*/
  -khtml-user-select: none; /*早期浏览器*/
  -moz-user-select: none; /*火狐*/
  -ms-user-select: none; /*IE10*/
  user-select: none;
}
//input textarea span文本可选中
input {
  -webkit-user-select: auto; /*webkit浏览器*/
}
textarea {
  -webkit-user-select: auto; /*webkit浏览器*/
}
span {
  user-select: text;
}

.app {
  overflow: hidden;
  font-size: 1.2rem;
}

//tabs默认样式
.mu-tabs {
  border-radius: 10px;
  color: rgb(33, 100, 243);
  border: 1px solid rgb(33, 100, 243);
  ::v-deep .mu-ripple-wrapper {
    border-right: 1px solid rgb(33, 100, 243);
  }
  //最后一栏去掉有边框
  .right-border ::v-deep .mu-ripple-wrapper {
    border-right: none;
  }
}
//tab默认文本样式
.mu-tab {
  color: #1184e1;
  font-size: 1.3rem;
  //border-right: 1px solid rgb(33, 100, 243);
}
//tab激活样式
.mu-tab-active {
  background-color: #1184e1;
  color: white;
}
//input样式
.mu-input {
  margin: 0 0;
  padding: 0 0;
}

.mu-button {
  text-transform: none;
  border-radius: 5px;
}

//扫码框样式
.pro-saoma {
  width: 100%;
  margin: 0.6rem 0px 0px 0px;
  text-align: center;
  position: relative;
  //元素样式
  input {
    width: 80%;
    height: 2.6rem;
    outline: none;
  }
  //流转卡扫码(圆角)
  ::v-deep .input-radius {
    border: 1px solid rgb(33, 100, 243);
    border-radius: 30px; //圆角设置
    padding-left: 1.2rem;
  }
  //图标
  .pro-saoma-search {
    position: absolute;
    top: 15%;
    right: 11%;
  }
}

//表格
.mu-table {
  // ::v-deep ::-webkit-scrollbar { //隐藏滚动条但是可以滚动
  //   width: 0px;
  // }
  table {
    width: 100%;
  }
  tr {
    height: 2rem;
    max-height: 2rem;
    font-size: 2rem;
  }
  //t-header 列td设置
  th {
    text-align: center;
    padding: 0;
    overflow: hidden; //隐藏文字
    text-overflow: ellipsis; //显示...
    white-space: nowrap; //不换行
  }
  th.headColumns {
    color: #f0f0f0;
    height: 1.2rem;
    font-size: 1rem !important;
    background-color: #2164f3;
    //border-right: 1px solid #f0f0f0;
    text-align: center;
  }
  th.headHidden {
    display: none;
    border: none;
  }
  td {
    padding: 0;
    overflow: hidden; //隐藏文字
    text-overflow: ellipsis; //显示...
    //white-space: nowrap; //不换行
  }
  //t-body 列td隐藏
  td.is-hidden {
    display: none;
    border: none;
  }

  .mu-table-empty {
    //表格没有数据时的样式
    height: 100%;
    font-weight: 400; //定义由粗到细的字符。400 等同于 normal，而 700 等同于 bold
    font-size: 1.2rem !important;
  }
}

//隐藏表格横向滚动条
.mu-table-body-wrapper {
  overflow-x: hidden;
}

// ::v-deep .mu-table-header-wrapper{
//   width: 100%;
// }

//表格列宽度百分比重要设置
.mu-table-header {
  width: 100%;
  min-width: 100%;
  col[width="0"] {
    display: none;
  }
}

//内容过长显示处理，元素必须有宽度属性,元素加title属性可显示完整内容
.line-limit-length {
  display: block; //块状显示，非块状元素需要添加
  overflow: hidden; //隐藏文字
  text-overflow: ellipsis; //显示...
  white-space: nowrap; //不换行
}

//label列样式
.labelCol {
  text-align: right;
}
